
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<html>
	<head>
             <%@include file="encabezado.html" %>
             <script type="text/javascript" src="js/reg_empresa.js"></script>
             
    
	</head>
	
	<body class="">
            
          <%
            String idempresa = (String)session.getAttribute("hdnidempresa");
          
          %>
	
	
	<!-- WRAPPER -->
	<div id="wrapper">
		
		<!-- HEADER -->
		<div id="header">
			
                     <%@include  file="menu.jsp" %>
			
			<!-- Breadcrumb-->
			<div id="breadcrumbs">
				<a title="Home" href="index.jsp">Home</a>
				Registrar Empresa
			</div>
			<!-- ENDS Breadcrumb-->	

		</div>
		<!-- ENDS HEADER -->
		
		<!-- MAIN -->
		<div id="main">
			
			<!-- content -->
			<div id="content">
				
				<!-- title -->
				<div id="page-title">
					<span class="title">Registrar empresa</span>
					
				</div>
				<!-- ENDS title -->
					
				<!-- column (left)-->
				<div class="two columns">
					<!-- form -->
					
					<script type="text/javascript" src="js/form-validation.js"></script>
                                        
					<form id="contactForm"  method="post" accept-charset="utf-8">
                                            
                                            <input type="hidden" id="hdnidempresa" value ="<%=idempresa%>"  name="hdnidempresa">
                                            
                                            <div style="display:none;">
                                                <input type="hidden" name="_method" value="POST"/>
                                            </div>
						<fieldset>
							<div>
								<label>Nombre de la Empresa</label>
                                                                <input name="txtnombre"  maxlength="50" id="txtnombre"  value ="<%=request.getParameter("hdnfbemresa")!=null?request.getParameter("hdnfbemresa"):"" %>" type="text" class="form-poshytip" title="Ingrese razón social" />                                                               
								
							</div>
                                                    
                                                        <div>
                                                            <label>Dirección</label>
                                                            <input id="txtdirecc" type="text" name="txtdirecc" value ="<%=request.getParameter("hdnfdireccion")!=null?request.getParameter("hdnfdireccion"):"" %>"     maxlength="100" class="form-poshytip" title="Ingrese dirección de la Empresa" />
                                                        </div>
                                                    
                                                        <div>
                                                            <label>Distrito</label>
                                                            <input id="txtdistri" type="text" name="txtdistri" maxlength="50" class="form-poshytip" title="Ingrese dirección de la Distrito" />
                                                        </div>
                                                    
                                                        <div>
                                                            <label>Contacto</label>
                                                            <input id="txtcontacto" type="text" name="txtcontacto" maxlength="30"  class="form-poshytip" title="Ingrese Contacto" />
                                                        </div>
                                                    
                                                                                                            <div>
                                                        <label>Rubro</label>
                                                            <input id="txtrubro" type="text" name="txtrubro" maxlength="30" class="form-poshytip" title="Ingrese Contacto" />
                                                        </div>
                                                    
                                                    <div>
                                                        <label>Telefono</label>
                                                            <input id="txttelefono" type="text" name="txttelefono" maxlength="15" class="form-poshytip" title="Ingrese Contacto" />
                                                        </div>
                                
                                                        <div>
                                                             <label>RUC</label>
                                                             <input name="txtruc"  id="txtruc" type="text" maxlength="15" class="form-poshytip" title="Ingrese RUC o DNI" />
							</div>
                                
                                
                                                        <div>
                                                            <label>Email</label>
                                                            <input name="txtemail"  id="txtemail" type="text" maxlength="30" class="form-poshytip" title="Ingrese su email" />
							</div>
                                
                                                        <div>
                                                            <label>Usuario</label>
                                                            <input name="txtusuario"  id="txtusuario" maxlength="25"  value ="<%=request.getParameter("hdnfbusuario")!=null?request.getParameter("hdnfbusuario"):"" %>"  type="text" class="form-poshytip" title="Ingrese teléfono de contacto" />
							</div>
                  
							<div>
								<label>Password</label>
                                                                <input name="txtclave"  id="txtclave" maxlength="10" value ="<%=request.getParameter("hdnfbclave")!=null?request.getParameter("hdnfbclave"):"" %>"  type="password" class="form-poshytip" title="Ingrese su email" />
							</div>
                                                    
                                                        <p></p>
                                                        
                                                        <input type="button" value="Registrar" name="btnregistrar" id="btnregistrar" />
							
						</fieldset>
						<p id="error" class="warning">Message</p>
					</form>
                                        
                                        
                                        
                                        
                                        
                                                    
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
					
					<!-- ENDS form -->
				</div>
				<!-- ENDS column -->
				
				<!-- column (right)-->
				
				<!-- ENDS column -->							

			</div>
			<!-- ENDS content -->
			
			<!-- Twitter -->
			<div id="twitter">
				<a href="#" id="prev-tweet"></a>
				<a href="#" id="next-tweet"></a>
				<div id="tweets">
					<ul class="tweet_list"></ul>
				</div>
			</div>
			<!-- ENDS Twitter -->


		</div>
		<!-- ENDS MAIN -->
		
		<!-- FOOTER -->
		<div id="footer"></div>
		<!-- ENDS FOOTER -->
	
	</div>
	<!-- ENDS WRAPPER -->
	
	</body>
	
</html>